import Avue from '@smallwei/avue'
import '@smallwei/avue/lib/index.css'

export default {
  async install(Vue) {
    let options = {
      //全局水印
      canvas: {
        text: '橘子橘子',
        fontFamily: 'microsoft yahei',
        color: '#999',
        fontSize: 16,
        opacity: 100,
        bottom: 10,
        right: 10,
        ratio: 1,
      },
    }
    //Avue
    Vue.use(Avue, options)
  },
}
